<%--
  Created by IntelliJ IDEA.
  User: xue80
  Date: 2024/12/29
  Time: 20:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .content {
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }
        form {
            display: flex;
            flex-direction: column;
        }
        input[type="text"], input[type="submit"] {
            padding: 10px;
            margin-top: 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        input[type="submit"] {
            background-color: #5cb85c;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        input[type="submit"]:hover {
            background-color: #4cae4c;
        }
        span {
            margin-bottom: 5px;
            color: #333;
        }
    </style>
</head>
<body>
<div class="content">
    <form action="${pageContext.request.getContextPath()}/AddEmployee" method="post">
        <span class="name">name</span><input type="text" name="name" placeholder="请输入员工名称"><br>
        <span class="idcard">idcard</span><input type="text" name="idcard" placeholder="请输入身份证号"><br>
        <span class="gender">gender</span><input type="text" name="gender" placeholder="请输入性别"><br>
        <span class="phone">phone</span><input type="text" name="phone" placeholder="请输入手机号"><br>
        <span class="address">address</span><input type="text" name="address" placeholder="请输入地址"><br>
        <span class="hiredate">hiredate</span><input type="text" name="hiredate" placeholder="请输入入职日期"><br>
        <span class="status">status</span><input type="text" name="status" placeholder="请输入状态"><br>
        <input class="but" type="submit" value="提交">
    </form>
</div>
</body>
</html>
